description = "模板常规默认布局"

[account]
redirect = "account/profile"
paramCode = "code"

[catalog]

[session]
security = "all"

[staticMenu]
code = "mainmenu"
[localePicker]
==
{% set appName = catalog.app.name %}
{% set shoppingCart = catalog.getShoppingCart %}
<!doctype html>
<html>
<head>
	<meta charset="UTF-8">
	<meta http-equiv="Content-Language" content="ja">
	<title>{% placeholder page_title default type="text" %}{{ appName }}{% endplaceholder %}</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="shortcut icon" href="images/favicon.png">
	<link href="{{ 'assets/css/css.css'|theme }}" rel="stylesheet" type="text/css" />
    <link href="{{ 'assets/css/style.css'|theme }}" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="{{ 'assets/js/jquery-1.11.3.min.js'|theme }}"></script>
	<script type="text/javascript" src="{{ 'assets/js/core.js'|theme }}"></script>
	<script type="text/javascript" src="{{ 'assets/js/common.js'|theme }}"></script>
	<script type="text/javascript" src="{{ 'assets/js/jquery.lazyload.min.js'|theme }}"></script>
	<script type="text/javascript" src="{{ 'assets/js/main.js'|theme }}"></script>
    <script type="text/javascript" src="{{ 'assets/js/main-sq.js'|theme }}"></script>
    <!-- Global Site Tag (gtag.js) - Google Analytics -->
	<script async src="https://www.googletagmanager.com/gtag/js?id=UA-92784815-5"></script>
	<script>
	  window.dataLayer = window.dataLayer || [];
	  function gtag(){dataLayer.push(arguments)};
	  gtag('js', new Date());

	  gtag('config', 'UA-92784815-5');
	</script>
</head>
<body class="_imgProtect">
  <div id="loading">
    <div class="loading"><img src="{{ 'assets/images/loadingAnimation.gif'|theme }}" alt=""></div>
  </div>
	{% flash %}
	<div class="flashCloseBox">
		<div id="lean_overlay" style="display:block;opacity:0.9;z-index:103;"></div>
		<div class="flashCloseCont">
			<p id="flash-text">{{ message }}</p>
			<button type="button" class="button_common flashClose">{{ 'close'|_ }}</button>
		</div>
	</div>
	{% endflash %}
	{% partial 'topMenu' %}
	<div id="divBox">
		<div class="divBoxOverlay"></div>
		<!-- banner -->
			{% set homeTopAd = catalog.fetchAd('mobilehome-top-ad') %}
		    {% if homeTopAd %}
		      {% for item in homeTopAd.items %}
		        <a href='{{ item.link }}'><img src='{{ item.image.getPath() }}' width='100%'></a>
		      {% endfor %}
		    {% endif %}
		 <!-- banner -->
		<header class="header">
			<div class="header_top clearfix">
				<h1 class="header_left">
					<a class="header_left_logo" href="/">
						<span class="dn"></span>
					</a>
				</h1>
				<nav class="header_right clearfix">
					<div>
						<a class="header_right_item">
							{% component 'localePicker' %}
							<span class="arrow icon-right"></span>
						</a>
						{% set currencies = catalog.allCurrencies %}
						{% set selectedCurrency = catalog.switchedCurrency %}
						<a class="header_right_item">
							<select id="currency" onchange="location.href='?currency='+this.value" class="form-control">
								{% for currency in currencies %}
									<option value ="{{ currency.code }}"  {% if selectedCurrency.code == currency.code  %}  selected  {% endif %}>{{ currency.symbol }}{{ currency.code }}</option>
								{% endfor%}
							</select>
							<span class="arrow icon-right"></span>
						</a>
						{% if user.email %}
						<a class="header_right_item" href="{{ 'account/dashboard'|page }}">
							<span class="header_right_item_icon sprite_common menu_mypage"></span>
							<span class="header_right_item_text i_txt_common sprite-txt_header_nav"></span>
						</a>
						{% else %}
						<a class="header_right_item" href="{{ 'account/login'|page }}">
							<span class="header_right_item_icon sprite_common menu_login"></span>
							<span class="header_right_item_text i_txt_common sprite-txt_header_nav"></span>
						</a>
						{% endif %}
						<a class="header_right_item" href="{{ 'checkout/cart'|page }}">
							<div id="minicart">
								<span class="header_right_item_icon sprite_common menu_cart"></span>
								<span class="header_right_item_text i_txt_common sprite-txt_header_nav"></span>
								{% set shoppingCart = catalog.getShoppingCart %}
								<span class="products_in_cart_num">{{ count(shoppingCart.items) }}</span>
							</div>
						</a>
						<a class="header_right_item" id="MenuToggle">
							<span class="header_right_item_icon sprite_common menu_menu"></span>
							<span class="header_right_item_text i_txt_common sprite-txt_header_nav"></span>
						</a>
					</div>
				</nav>
			</div>
		</header>
		{% page %}
		<footer class="pr">
			<nav class="iconMenuNav" style="width:10%; opacity:0.6;">
				<a class="iconMenuNav_item _toTop" href="#top" style="width:100%; height:30px;">
					<span class="arrow top"></span>
				</a>
			</nav>
			<div class="footer">
				<p style="padding: 5px 5px 0 5px;">
					{{ 'We select the best products for your better life! We are committed to provide you the products with simple classic style and guaranteed quality, which makes you charming and attractive. We try to give you the cost-effective products and the good customer services. Hope here can be your wardrobe. '|_ }}
				</p>
				<nav class="footerTextNav">
                    <a class="footerTextNav_item" href="{{ 'common/about-us'|page }}">{{ 'About us'|_ }}</a>
					⁄
					<a class="footerTextNav_item" href="{{ 'common/terms-of-use'|page }}">{{ 'Terms of Use'|_ }}</a>
					⁄
					<a class="footerTextNav_item" href="{{ 'common/privacy-policy'|page }}">{{ 'Privacy Policy'|_ }}</a>
                    ⁄
					<a class="footerTextNav_item" href="{{ 'common/faq'|page }}">{{ 'FAQ'|_ }}</a>
                    ⁄
					<a class="footerTextNav_item" href="{{ 'common/terms-and-conditions'|page }}">{{ 'Terms and Conditions'|_ }} </a>
					⁄
					<a class="footerTextNav_item" href="{{ 'common/return-shipping'|page }}">{{ 'Return & Shipping'|_ }}</a>
					⁄
					<a class="footerTextNav_item" href="{{ 'common/payment-methods'|page }}">{{ 'Payment Methods'|_ }}</a>
					<ul class="icon-footer">
                		<li><a href="
https://www.facebook.com/Igadgea1" target="_blank"><i class="fa-facebook"></i>facebook</a></li>
					</ul>
					<div class="icon-footer">
						<i class="fa-phone"></i><a href="tel:8618792763162">Whatsapp: +86187 9276 3162</a>
					</div>
					<div class="icon-footer">
			            <i class="time-icon"></i>{{ 'Working time'|_ }} 9:00--18:00(Mon-Fri)
			        </div>
			        <div class="icon-footer">
						<i class="email-icon"></i><a href="mailto:servicesupport@igadgea.com">servicesupport@igadgea.com</a>
					</div>
				</nav>
				<p id="copyright">COPYRIGHT©2015<a href="/" style="color:#f7505a;"> Igadgea.com </a>, ALL RIGHTS RESERVED.</p>
			</div>
		</footer>
	</div>
	{% framework extras %}
	<link href="{{ 'assets/css/base.css'|theme }}" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="{{ 'assets/js/left-list.js'|theme }}"></script>
	<script type="text/javascript">
		$(function () {
			$(".flashClose").click(function(){
				$(".flashCloseBox").hide();
			});
			$(".flashCloseBox").delay(3000).hide(0);
		});
	</script>
	<!-- Facebook Pixel Code -->
	<script>
		!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
		n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
		n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
		t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
		document,'script','https://connect.facebook.net/en_US/fbevents.js');
		fbq('init', '1973822869538409');
		fbq('track', 'PageView');
	</script>
	<noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=1973822869538409&ev=PageView&noscript=1"/></noscript>
	<!-- DO NOT MODIFY -->
	<!-- End Facebook Pixel Code -->
</body>
</html>